home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 3 / ACE CD 3.iso / files / games / 1-l / conquest.dms / in.adf / ConquestInstall < prev    next >
Encoding:
Text File  |  1995-06-25  |  1.5 KB  |  62 lines

  1. echo "*EcThis installation script will copy all Conquest files"
  2. echo "onto your hard disk, in the directory of your choice.*N"
  3.  
  4. ask "Do you wish to install Conquest? (Type Y to install):"
  5.  
  6. if not warn 
  7.     echo "Installation cancelled.*N"
  8.     skip quit
  9. endif
  10.  
  11. echo "*NType the name of the disk and directory where you wish to"
  12. echo "install Conquest. For example: *dh0:Games/Strategy*."
  13. echo "A directory called Conquest will be created."
  14. echo "Enter Path: " NOLINE
  15.  
  16. failat 21
  17.  
  18. assign > NIL: conqdir: ?
  19. assign > NIL: conqdir: exists
  20.  
  21. if warn
  22.     echo "*NSorry that is not a valid drive, please check the name"
  23.     echo "and run the install again."
  24.     skip quit
  25. endif
  26.  
  27. cd conqdir:
  28. echo "*NCreating directory..."
  29. makedir > NIL: Conquest
  30.  
  31. if warn
  32.     echo "That directory already exists."
  33.     ask "Do you wish to install to this directory? (Y to install):"
  34.     if not warn 
  35.         echo "Installation cancelled.*N"
  36.         skip quit
  37.     endif    
  38. endif
  39.  
  40. copy >NIL: Conquest:s/Conquest.info conqdir:
  41. assign conqdir: conqdir:conquest
  42. cd conqdir:
  43. echo "*NInstalling Conquest to " NOLINE
  44. cd
  45.  
  46. copy >NIL: Conquest:c/#? all conqdir:c
  47. copy >NIL: Conquest:data/#? all conqdir:data
  48. copy >NIL: Conquest:devs/#? all conqdir:devs
  49. copy >NIL: Conquest:gfx/#? all conqdir:gfx
  50. copy >NIL: Conquest:l/#? all conqdir:l
  51. copy >NIL: Conquest:libs/#? all conqdir:libs
  52. copy >NIL: Conquest:sfx/#? all conqdir:sfx
  53. copy >NIL: Conquest:Conquest conqdir:
  54. copy >NIL: Conquest:Conquest.info conqdir:
  55.  
  56. echo "*NConquest installation finished."
  57.  
  58. lab quit
  59. assign conqdir:
  60. ask " (return to exit)"
  61. endcli
  62.